package com.itheima.demo;

public class Man extends Person {
    private String liqi;
    public Man() {
    }

    public Man(String id, String name, String age,String liqi) {
        super(id, name, age);
        this.liqi = liqi;
    }

    @Override
    public void eat() {
        System.out.println("男人在吃饭");
    }

    public String getLiqi() {
        return liqi;
    }

    public void setLiqi(String liqi) {
        this.liqi = liqi;
    }

    public void  show(){
        System.out.println(getId()+"..."+getName()+"..."+getAge()+"..."+getLiqi());
    }


}
